package org.zhixiang.gisQuery.utils.help;

import org.zhixiang.gisQuery.query.SelfPoint;

/**
 * 
 * @say little Boy, don't be sad.
 * @name Rezar
 * @time 2018年9月21日 下午5:04:17
 * @Desc 些年若许,不负芳华.
 *
 */
public class GeomPoint extends SelfPoint {

	public GeomPoint(double ptx, double pty) {
		this.x = ptx;
		this.y = pty;
	}

	double min(double a, double b) {
		if (a <= b)
			return a;
		else
			return b;
	}

	double max(double a, double b) {
		if (a >= b)
			return a;
		else
			return b;
	}
}
